package top.ochiamalu.aioj.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * ai配置
 *
 * @author ochiamalu
 * @date 2025/03/07
 */
@Component
@Data
@ConfigurationProperties(prefix = "ai-oj.ai")
public class AIProperties {
    /**
     * api密钥
     */
    private String apiKey;

    /**
     * 启用
     */
    private boolean enable = false;
}
